package com.yan.consumer.feigin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author yk
 * @date 2021/3/12 14:58
 * @description
 */
@FeignClient(contextId ="feignService",value = "service-provider")
public interface FeignService {

    @GetMapping("/hello")
    String hello();

    @GetMapping("/project/save")
    String save();
}
